#!/bin/sh
# Notify DingTalk for CI result
set -x
t=''
for a in $@;
do t=${t}" "${a};
done
echo $t
curl 'https://oapi.dingtalk.com/robot/send?access_token=7a5478d9df73a9eacbeb852cbfa1efc67c6d52f9d6845c0ffde957110669ddb2' -H 'Content-Type: application/json' -d "{\"msgtype\": \"text\", \"text\": {  \"content\": \"CI DONE: $t\" } }"
